<template>
  <div>
    <div>
      <span>项目名称:</span>
      <el-input
        style="width: 200px; margin: 0 0 0 0.5vw"
        v-model="queryForm.projectName"
        placeholder="请输入名称"
        size="small"
      ></el-input>
      <el-button
        type="primary"
        size="small"
        style="margin: 0 0 0 1vw"
        @click="search"
        >查询</el-button
      >
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      queryForm: {
        projectName: "",
      },
    };
  },
  methods: {
    search() {
      this.$emit("searchs", this.queryForm);
    },
  },
};
</script>

<style>
</style>